package com.eagle.platform.api.constant;

public enum APIResultCodeEnum {
    SUCCESS(200,"请求成功"),ERROR(500,"请求失败");

    private int code;

    private String desc;

    APIResultCodeEnum(int code,String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
